function getUrl() {
    var path = location.search
    console.log(path)
}
getUrl()